package com.yhx.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 订单
 * @TableName t_order
 */
@TableName(value ="t_order")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Order implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 员会id
     */
    private Integer memberId;

    /**
     * 约预日期
     */
    private Date orderdate;

    /**
     * 约预类型 电话预约/微信预约
     */
    private String ordertype;

    /**
     * 预约状态（是否到诊）
     */
    private String orderstatus;

    /**
     * 餐套id
     */
    private Integer setmealId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}